home *** CD-ROM | disk | FTP | other *** search
/ PC Basics 53 / PC Basics Issue 53.iso / Software / Internet / Invboard.exe / PC Basics 53 / Invboard / upload / Skin / s1 / skin_help.php < prev    next >
Encoding:
PHP Script  |  2002-06-12  |  2.9 KB  |  89 lines

  1. <?php
  2.  
  3. class skin_help {
  4.  
  5.  
  6.  
  7. function row($entry) {
  8. global $ibforums;
  9. return <<<EOF
  10.           <!-- Help Entry ID:{$entry[ID]} -->
  11.           <tr>
  12.             <td id='{$entry['CELL_COLOUR']}' style='height:28px'><a href='{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?act=Help&s={$ibforums->session_id}&CODE=01&HID={$entry['id']}'><b>{$entry['title']}</b></a><br>{$entry['description']}</td>
  13.           </tr>
  14.           <!-- End Help Entry -->
  15. EOF;
  16. }
  17.  
  18. function display($text) {
  19. global $ibforums;
  20. return <<<EOF
  21.           <!-- Displaying Help Topic -->
  22.           <tr>
  23.             <td id='row1' colspan='2' id='postcolor'>$text</td>
  24.           </tr>
  25.           <!-- End Display -->
  26. EOF;
  27. }
  28.  
  29. function end() {
  30. global $ibforums;
  31. return <<<EOF
  32.           </table>
  33.           </td>
  34.           </tr>
  35.           </table>
  36. EOF;
  37. }
  38.  
  39. function no_results() {
  40. global $ibforums;
  41. return <<<EOF
  42.                 <tr>
  43.                    <td id='row1' colspan='2'><b>{$ibforums->lang['no_results']}</b></td>
  44.                  </tr>
  45. EOF;
  46. }
  47.  
  48. function start($one_text, $two_text, $three_text) {
  49. global $ibforums;
  50. return <<<EOF
  51.      <table cellpadding=4 cellspacing='0' border='0' width='{$ibforums->skin['tbl_width']}' align='center'>
  52.       <tr><td>$two_text</td></tr>
  53.      </table>
  54.  
  55.      <table cellpadding=0 cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
  56.       <tr>
  57.         <td>
  58.           <table cellpadding='4' cellspacing='1' border='0' width='100%'>
  59.           <tr>
  60.           <td  align='left' colspan='2' id='titlemedium' background="{$ibforums->vars['img_url']}/tile_sub.gif">$one_text</td>
  61.           </tr>
  62.           <tr>
  63.               <td id='row1' colspan='2'>
  64.                <form action="{$ibforums->vars['board_url']}/index.{$ibforums->vars['php_ext']}?act=Help;s={$ibforums->session_id};CODE=02" method="post">
  65.                <input type='hidden' name='act' value='Help'>
  66.                <input type='hidden' name='CODE' value='02'>
  67.                <input type='hidden' name='s' value='{$ibforums->session_id}'>
  68.                {$ibforums->lang['search_txt']}  <input type='text' maxlength='60' size='30' class='forminput' name='search_q'> <input type='submit' value='{$ibforums->lang['submit']}' class='forminput'>
  69.               </form>
  70.              </td>
  71.            </tr>
  72.            </table>
  73.           </td>
  74.          </tr>
  75.       </table>
  76.       <br>
  77.      <table cellpadding=0 cellspacing='1' border='0' width='{$ibforums->skin['tbl_width']}' bgcolor='{$ibforums->skin['tbl_border']}' align='center'>
  78.       <tr>
  79.         <td>
  80.           <table cellpadding='4' cellspacing='1' border='0' width='100%'>
  81.            <tr>
  82.              <td colspan='2' id='titlemedium' background="{$ibforums->vars['img_url']}/tile_sub.gif"><b>$three_text</b></td>
  83.            </tr>
  84. EOF;
  85. }
  86.  
  87.  
  88. }
  89. ?>